github.com/klauspost/compress/zstd.encoderOptions.windowSize (field)
30 uses
github.com/klauspost/compress/zstd (current package)
dict.go#L238: windowSize: maxMatchLen,
encoder.go#L756: single := len(src) <= e.o.windowSize && len(src) > MinWindowSize
encoder_options.go#L23: windowSize int
encoder_options.go#L42: windowSize: 8 << 20,
encoder_options.go#L55: return &fastEncoderDict{fastEncoder: fastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}}
encoder_options.go#L57: return &fastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}
encoder_options.go#L61: return &doubleFastEncoderDict{fastEncoderDict: fastEncoderDict{fastEncoder: fastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}}}
encoder_options.go#L63: return &doubleFastEncoder{fastEncoder: fastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}}
encoder_options.go#L66: return &betterFastEncoderDict{betterFastEncoder: betterFastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}}
encoder_options.go#L68: return &betterFastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}
encoder_options.go#L70: return &bestFastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}
encoder_options.go#L121: if o.resetOpt && n != o.windowSize {
encoder_options.go#L125: o.windowSize = n
encoder_options.go#L127: if o.blockSize > o.windowSize {
encoder_options.go#L128: o.blockSize = o.windowSize
encoder_options.go#L249: o.windowSize = 4 << 20
encoder_options.go#L254: o.windowSize = 8 << 20
encoder_options.go#L256: o.windowSize = 8 << 20
encoder_options.go#L258: o.windowSize = 8 << 20
encoder_options.go#L357: s := max(o.windowSize*4, 512<<10)
encoder_options.go#L365: return o.windowSize / 2
encoder_options.go#L367: return o.windowSize / 4
encoder_options.go#L369: return o.windowSize / 8
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |